#include "stdafx.h"
#include "Temple.h"
#include "../../../EdgeContent/ContentManager.h"
#include "../../../EdgeGraphics/Model.h"
#include "../../World/WorldEvents.h"

Temple::Temple(void)
{
	model = ContentManager::GetInstance()->LoadMdl("Content\\Models\\Shrine.mdl");
	model->SetMaterial(ContentManager::GetInstance()->LoadMaterial("Content/Textures/testMaterial.mat"));
	model->setShaderContainer(ContentManager::GetInstance()->LoadShaderPair("AdsLightingVertexShader.cso", "AdsLightingPixelShader.cso"));
}

/*virtual*/ Temple::~Temple(void)
{

}

// update the structure
/*virtual*/ void Temple::Update(float dt) /*override*/
{
	Structure::Update(dt);
}

/*virtual*/ void Temple::Draw(void) /*override*/
{
	Structure::Draw();
}

/*virtual*/ void Temple::Interact(void) /*override*/
{
	(*WorldEvents::TempleClicked)(nullptr);
}